package com.example.propLoad;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration
@Data
@Component
public class AnnotationProp {
    @Value("${dataSource.business.driverClassName}")
    private String businessdriverClassName;
    @Value("${dataSource.business.url}")
    private String businessurl;

    @Value("${dataSource.business.username}")
    private String businessusername;

    @Value("${dataSource.business.password}")
    private String businesspassword;

    @Value("${dataSource.business.InitialSize}")
    private String businessInitialSize;

    @Value("${dataSource.business.MaxActive}")
    private String businessMaxActive;

    @Value("${dataSource.business.MinIdle}")
    private String businessMinIdle;

    @Value("${dataSource.business.MaxWait}")
    private String businessMaxWait;

    @Value("${dataSource.order.driverClassName}")
    private String orderdriverClassName;

    @Value("${dataSource.order.url}")
    private String orderurl;

    @Value("${dataSource.order.username}")
    private String orderusername;

    @Value("${dataSource.order.password}")
    private String orderpassword;

    @Value("${dataSource.order.InitialSize}")
    private String orderInitialSize;

    @Value("${dataSource.order.MaxActive}")
    private String orderMaxActive;
    @Value("${dataSource.order.MinIdle}")
    private String orderMinIdle;
    @Value("${dataSource.order.MaxWait}")
    private String orderMaxWait;

    @Value("${dataSource.equipment.driverClassName}")
    private String equipmentdriverClassName;
    @Value("${dataSource.equipment.url}")
    private String equipmenturl;
    @Value("${dataSource.equipment.username}")
    private String equipmentusername;
    @Value("${dataSource.equipment.password}")
    private String equipmentpassword;
    @Value("${dataSource.equipment.InitialSize}")
    private String equipmentInitialSize;
    @Value("${dataSource.equipment.MaxActive}")
    private String equipmentMaxActive;
    @Value("${dataSource.equipment.MinIdle}")
    private String equipmentMinIdle;
    @Value("${dataSource.equipment.MaxWait}")
    private String equipmentMaxWait;


}
